package com.kayden.blog.common.pojo.request;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class AddBlogRequest {

    @NotNull(message = "userId不能为空")
    private Integer userId;
    @NotNull(message = "标题不能为空")
    private String title;
    @NotNull(message = "内容不能为空")
    private String content;

}
